package com.auoem.radio.ui.msg;

import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import com.auctus.am.framework.roomdb.entity.AmTalk;

public class TalkViewModel extends ViewModel {

    private MutableLiveData<AmTalk> _talks =new MutableLiveData<AmTalk>();

//    private LiveData<List<AmTalk>> talks=Transformations.switchMap()
//
//    val records: LiveData<List<Record>> = Transformations.switchMap(_record) {
//        Repository.getAllRecordsByTitle(it)
//    }
//
//    fun getAllRecordsByTitle(title: String)  = launch{
//        _record.value = title
//    }



}
